import axi from '../../../plugin/axios/axios'

//按天获取对于模块的统计量
export const getModuleStatisticsByDay = params => {
  return axi({
    url: '/api/v1/statistics/module',
    method: 'GET',
    params
  });
}

//获取所有的模块类型
export const getModuleTypes = () => {
  return axi({
    url: '/api/v1/statistics/module/types',
    method: 'GET'
  })
}
